From: Jakub Steiner Date: Thu, 8 Sep 2022 09:43:50 +0000 (+0200) Subject: classic: Make login entries legible X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~446^2^2~30 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=08610c9a89445d3319ff1344d01cc818b4de7ee8;p=gnome-shell.git classic: Make login entries legible - hardcoded color hotfix for 43. A more systemic approach discussed below See https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/410 Part-of: --- diff --git a/data/theme/gnome-shell-sass/widgets/_login-dialog.scss b/data/theme/gnome-shell-sass/widgets/_login-dialog.scss index 23456be58..208165d12 100644 --- a/data/theme/gnome-shell-sass/widgets/_login-dialog.scss +++ b/data/theme/gnome-shell-sass/widgets/_login-dialog.scss @@ -183,12 +183,12 @@ .unlock-dialog { StEntry { border:none !important; - &:focus { - background-color: transparentize($fg_color, 0.9); + &:focus { + background-color: if($variant == 'light', transparentize(white, 0.9), transparentize($fg_color, 0.9)); } &:insensitive { - color: transparentize($fg_color, 0.5); - background-color: transparentize($fg_color, 0.95); + color: if($variant == 'light', transparentize(white, 0.5), transparentize($fg_color, 0.5)); + background-color: if($variant == 'light', transparentize(white, 0.95), transparentize($fg_color, 0.95)); } }